from sanic import response
from . import app_access_token

import asyncio
from .verify_access_token import AccessToken


@app_access_token.route("/access_token_verify")
async def verify_token_api(request):

    access_token=request.args.get("access_token")
    user_id=request.args.get("user_id")

    info=await AccessToken().access_token_verify_func(access_token,user_id)
    return response.json(info)







